package com.mqr.wallet.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.mqr.wallet.common.BaseEntity;
import com.mqr.wallet.vo.CashResult;
import com.mqr.wallet.vo.CashWithdrawalVO;
import com.mqr.wallet.vo.WalletVO;


/**
 * <B>主类名称：</B>WalletController<BR>
 * <B>概要说明：</B>钱包服务控制组件<BR>
 *
 * @author mqr
 * @since 2023年2月21日 下午12:54:50
 */
@TableName("wallet_info")
public class WalletInfo extends BaseEntity {

    /**
     * 用户id
     */
    private Integer userId;

    /**
     * 余额
     */
    private Double balance;

    /**
     * 支出提现对象
     */
    transient private CashWithdrawalVO cashWithdrawal;
    /**
     * 支出结果对象
     */
    transient private CashResult cashResult;

    /**
     *
     */
    transient private WalletVO walletVO;

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Double getBalance() {
        return balance;
    }

    public void setBalance(Double balance) {
        this.balance = balance;
    }

    public CashWithdrawalVO getCashWithdrawal() {
        return cashWithdrawal;
    }

    public void setCashWithdrawal(CashWithdrawalVO cashWithdrawal) {
        this.cashWithdrawal = cashWithdrawal;
    }

    public CashResult getCashResult() {
        return cashResult;
    }

    public void setCashResult(CashResult cashResult) {
        this.cashResult = cashResult;
    }
}
